<?php  ?>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>添加礼券</title>
    <link rel="stylesheet" href="css/addcoupon.css">
    <script src="js/laydate/laydate.js"></script>
    <script src="js/jquery-2.2.4.min.js" type="text/javascript"></script>
</head>
<body>
    <div class="addCouponContent">
        <div  class="couponList">
            <p>
                <span class="title">礼品券名称</span>
                <input class="inputOne" type="text" placeholder="请输入礼品">
            </p>
            <p>
                <span class="title">详细介绍</span>
                <input class="inputOne" type="text" placeholder="请输入介绍">
            </p>
            <p>
                <span class="title">图片</span>
                <b class="file_up" style="width: 80px;height: 80px;line-height: 80px;text-align: center;background: #edeff5;font-size: 24px;color: #999;">+</b>
                <input type="hidden" name="img" value="">
                <input type="file" name="file_up" value="" style="display:none;">
            </p>
            <p>
                <span class="title">使用期限</span>
                <input class="inputTwo" type="text" placeholder="输入数字">
                <span class="dayTitle">天</span>
            </p>
            <p>
                <span class="title">上架期限</span>
                <input type="text" id="DateOne" class="inputDate" placeholder="开始日期"><span class="g">-</span><input type="text" id="DateTwo" class="inputDate" placeholder="结束日期">
            </p>
            <p>
                <span class="title">使用须知</span>
                 <textarea class="textareaOne" name="" id="" cols="30" rows="10" placeholder="输入礼品券使用须知"></textarea>
            </p>
            <button class="btnSure">确认添加</button>
        </div>

    </div>
</body>
<script>
    $(function(){

        $(".file_up").click(function(){
            $("input[name='file_up']").click();
        })
        $(".btnSure").click(function(){

        })
    })
laydate.render({
    elem: '#DateOne' //指定元素
    });
    laydate.render({
    elem: '#DateTwo' //指定元素
    });
</script>
</html>
